<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
        <script type="text/javascript" src="https://assets.pyecharts.org/assets/themes/macarons.js"></script>

</head>
<body>
    <div id="a228e32aea394faaabdf39d57005cc9b" class="chart-container" style="width:900px; height:500px;"></div>
    <script>
        var chart_a228e32aea394faaabdf39d57005cc9b = echarts.init(
            document.getElementById('a228e32aea394faaabdf39d57005cc9b'), 'macarons', {renderer: 'canvas'});
        var option_a228e32aea394faaabdf39d57005cc9b = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "series": [
        {
            "type": "pie",
            "clockwise": true,
            "data": [
                {
                    "name": "\u516c\u529e",
                    "value": 1574
                },
                {
                    "name": "\u6c11\u529e",
                    "value": 494
                },
                {
                    "name": "\u4e2d\u5916\u5408\u4f5c\u529e\u5b66",
                    "value": 10
                },
                {
                    "name": "\u5185\u5730\u4e0e\u6e2f\u6fb3\u53f0\u5730\u533a\u5408\u4f5c\u529e\u5b66",
                    "value": 2
                }
            ],
            "radius": [
                "30%",
                "45%"
            ],
            "center": [
                "50%",
                "50%"
            ],
            "roseType": "radius",
            "label": {
                "show": true,
                "position": "top",
                "margin": 8,
                "formatter": "{b}: {d}%"
            },
            "rippleEffect": {
                "show": true,
                "brushType": "stroke",
                "scale": 2.5,
                "period": 4
            }
        }
    ],
    "legend": [
        {
            "data": [
                "\u516c\u529e",
                "\u6c11\u529e",
                "\u4e2d\u5916\u5408\u4f5c\u529e\u5b66",
                "\u5185\u5730\u4e0e\u6e2f\u6fb3\u53f0\u5730\u533a\u5408\u4f5c\u529e\u5b66"
            ],
            "selected": {},
            "show": false,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5
    },
    "title": [
        {
            "text": "\u9ad8\u6821\u6027\u8d28\u5206\u5e03",
            "left": "50%",
            "top": "15%",
            "padding": 5,
            "itemGap": 10
        }
    ]
};
        chart_a228e32aea394faaabdf39d57005cc9b.setOption(option_a228e32aea394faaabdf39d57005cc9b);
    </script>
</body>
</html>
